import service from "@/utils/service.js";
import axios from "axios"
import myService from "@/utils/myService";
// 获取商品秒杀列表
export const getGoodsCecilList = (params) => service.get("pro/seckilllist", { params });

// 获取商品导航列表
export const getGoodsNavList = (params) => axios.get("http://180.76.99.14/api/index/catelist", { params });

// 获取商品分页列表数据
export const getGoodsPageList = (params) => service.get("pro/list", { params });

// 获取商品分类列表

export const getGoodsClassList = (params) => service.get('pro/categorylist', { params });

// 获取搜索列表
export const getSearchListApi = (params) => service.get("pro/search", { params });

// 获取城市数据
export const getCityListApi = (params) => myService("/city/sortCity.json");